package cn.aresoft.excel.emuns;

public enum ExcelDataFormat {

    TEXT("@","文本格式"),
    DATE("yyyy年m月d日","日期格式"),
    DATE_TIME("yyyy/MM/dd HH:mm:ss","时间格式"),
    DATE_SHORT("yyyy-MM-dd","日期格式"),
    DATE_SHORT2("yyyy/MM/dd","日期格式"),
    FIX_ONE("0.00","保留两位小数"),
    FIX_TWO("0.00","保留两位小数"),
    FIX_THREE("0.000","保留三位小数"),
    FIX_FOUR("0.0000","保留四位小数"),
    FIX_FIVE("0.00000","保留五位小数"),
    FIX_SIX("0.000000","保留六位小数"),
    FIX_SEVEN("0.0000000","保留七位小数"),
    FIX_EIGHT("0.00000000","保留八位小数"),

    INTEGER("0","整数"),
    CURRENCY("¥#,##0","货币格式"),
    PERCENTAGE("0.00%","百分比格式");


    ExcelDataFormat(String format, String remark) {
        this.format = format;
        this.remark = remark;
    }

    private String format;

    private String remark;


    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
